import requests, pprint

url = 'http://localhost/api/mgr/signin'
data = {
    'username': 'hff',
    'password': '88888888'
}

res = requests.post(url, data=data)
pprint.pprint(res.json(), sort_dicts=0)